// component/card-item/index.js
Component({

    options: {
        multipleSlots: true // 在组件定义时的选项中启用多slot支持
    },
    externalClasses: ['root-class'],
    /**
     * 组件的属性列表
     */
    properties: {
        full: {
            type: Boolean,
            value: false
        },
        type: {
            type: String,
            value: "goods"
        },
        title: String,
        price: String,
        originPrice: String,
        honor: String,
        src: String,
        desc: String

    },

    /**
     * 组件的初始数据
     */
    data: {},

    /**
     * 组件的方法列表
     */
    methods: {

        handelItemTap(event) {
            this.triggerEvent('xpTap', event.detail)
        }


    }
})
